package com.only4play.productcenter.domain.goods.event;

import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

/**
 * @author hinzzz www.hinzzz.cn 157957329@qq.com
 * 2024-02-27
 */
@Component
public class GoodsEventsProcessor {

    /**
     * 处理的是明细记录
     */
    @EventListener
    public void handleGoodsInEventForRecord(){

    }

    /**
     * 处理的是库存
     */
    @EventListener
    public void handleGoodsInEventForStore(){

    }


    /**
     * 添加购买记录
     */
    @EventListener
    public void handleGoodsInEventForBuy(){

    }


    /**
     * 处理生命周期
     */
    @EventListener
    public void handleGoodsInEventForLifeCycle(){

    }

}
